package com.zhaoyu.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhaoyu.model.admin.dtos.SensitiveDto;
import com.zhaoyu.model.admin.pojos.AdSensitive;
import com.zhaoyu.model.common.dtos.ResponseResult;

/**
 * AdSensitive(敏感词)
 */
public interface AdSensitiveService extends IService<AdSensitive>{

    ResponseResult findByNameAndPage(SensitiveDto sensitiveDto);

    ResponseResult insert(AdSensitive adSensitive);

    ResponseResult edit(AdSensitive adSensitive);

    ResponseResult deleteById(Integer id);

}